package com.isoft.filelistener.dao;

import com.isoft.filelistener.entity.DlyeDflt;
import com.isoft.filelistener.entity.Meta;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface DlyeMsgDao {
    @Insert("insert into TEAM_03.DFME_DLYE(SNDR,RCVR,SEQN,DDTM,TYPE,STYP,FLID,FFID,FIDE,FATT" +
            ",ABST,IAST,ABRS,IARS,MABS,MABR,MIAS,MIAR,FETT) VALUES(#{meta.sndr},#{meta.rcvr},#{meta.seqn}," +
            "#{meta.ddtm},#{meta.type},#{meta.styp},#{dflt.flid},#{dflt.ffid}," +
            "#{dflt.fide},#{dflt.fatt},#{dflt.abst},#{dflt.iast},#{dflt.abrs},#{dflt.iars},#{dflt.mabs},#{dflt.mabr},#{dflt.mias}," +
            "#{dflt.miar},#{dflt.fett})")
    public int insertdlye (@Param("meta") Meta meta, @Param("dflt") DlyeDflt dflt);
}
